package com.ymanage.entity;

import java.util.Date;

/**
 * 产品类
 * @Project	yumi
 * @version 1.0
 * @author Alen
 *
 */
public class Produce {

	private Integer pid;				//产品id
	
	private String pname;				//产品名称
	
	private String punmber;				//产品编号
	
	private String pdescription;		//产品描述
	
	private Date pdate;					//生产日期
	
	private Integer lifecycle;			//保质期
	
	private String premark;				//备注
	
	private Repertory prespertory;		//所属仓库
	
	private GoodsType goodstype;		//所属类别
	
	private Supplier supplier;			//供货商
	
	private Double pbid;				//进价
	
	private Integer pstock;				//库存

	public Supplier getSupplier() {
		return supplier;
	}

	public void setSupplier(Supplier supplier) {
		this.supplier = supplier;
	}

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public String getPunmber() {
		return punmber;
	}

	public void setPunmber(String punmber) {
		this.punmber = punmber;
	}

	public String getPdescription() {
		return pdescription;
	}

	public void setPdescription(String pdescription) {
		this.pdescription = pdescription;
	}

	public Date getPdate() {
		return pdate;
	}

	public void setPdate(Date pdate) {
		this.pdate = pdate;
	}

	public Integer getLifecycle() {
		return lifecycle;
	}

	public void setLifecycle(Integer lifecycle) {
		this.lifecycle = lifecycle;
	}

	public String getPremark() {
		return premark;
	}

	public void setPremark(String premark) {
		this.premark = premark;
	}

	public Repertory getPrespertory() {
		return prespertory;
	}

	public void setPrespertory(Repertory prespertory) {
		this.prespertory = prespertory;
	}

	public GoodsType getGoodstype() {
		return goodstype;
	}

	public void setGoodstype(GoodsType goodstype) {
		this.goodstype = goodstype;
	}

	public Double getPbid() {
		return pbid;
	}

	public void setPbid(Double pbid) {
		this.pbid = pbid;
	}

	public Integer getPstock() {
		return pstock;
	}

	public void setPstock(Integer pstock) {
		this.pstock = pstock;
	}
	
}
